<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
	xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:head>
	<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<title>监控页面</title>

	<!-- Bootstrap -->
	<link href="css/bootstrap.min.css" rel="stylesheet" />
	<link href="css/bootstrap-theme.min.css" rel="stylesheet" />

	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="js/jquery.min.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script src="js/bootstrap.min.js"></script>
	<style>
<!--
	body{
		margin: 0px;
	}
-->
</style>
</h:head>
<h:body>
	<div style="background-color: gray;height: 50px; color: white;">
		<h1>community-dynamic-war项目 监控情况</h1>
	</div>
	<h:panelGroup layout="block"></h:panelGroup>
	<div style="margin-left: 50px;margin-top: 20px;" id="message">
	  <c:forEach items="#{cmsMonitorAccessBean.monitorEntities}" var="mapVar">
	  	  <h2><h:outputText value="#{mapVar.key}"></h:outputText><br></br></h2>
	  	  <c:forEach items="#{mapVar.value}" var="var"
			varStatus="state">
			
			<h:panelGrid columns="6" border="1" width="90%" style="text-align:center">
				名称:<h:outputText value="#{var.name}"></h:outputText>
				数量:<h:outputText value="#{var.count}"></h:outputText>
				描述:<h:outputText value="#{var.description}"></h:outputText>
				最后的采样时间:<h:outputText value="#{var.lastsampletime}"></h:outputText>
				单位:<h:outputText value="#{var.unit}"></h:outputText>
				开始时间:<h:outputText value="#{var.starttime}"></h:outputText>
				highwatermark:<h:outputText value="#{var.highwatermark}"></h:outputText>
				current:<h:outputText value="#{var.current}"></h:outputText>
				lowwatermark:<h:outputText value="#{var.lowwatermark}"></h:outputText>
			</h:panelGrid>
			<br />
			<br />
		</c:forEach>
	  </c:forEach>
	</div>
</h:body>
</html>